package cn.wit.test;

/**
 * 形状类，俄罗斯方块一共有七种形状
 * 
 * @author 16604
 *
 */
public class GeometricShape {

	private static final int[][] MOUNTAIN = { { 1, 1, 1 }, { 0, 1, 0 }, { 0, 0, 0 } };		//山形

	private static final int[][] TIAN = { { 1, 1 }, { 1, 1 } };								//田字形

	private static final int[][] LEFT_LYING = { { 1, 0, 0 }, { 1, 1, 1 }, { 0, 0, 0 } };	//左躺形

	private static final int[][] RIGHT_LYING = { { 0, 0, 1 }, { 1, 1, 1 }, { 0, 0, 0 } };	//右躺形

	private static final int[][] STRIP = { { 0, 0, 0}, { 1, 1, 1}, { 0, 0, 0 } };			//长条形
	
	private static final int[][] LEFT_HANGING = { { 1, 1, 0}, { 0, 1, 1}, { 0, 0, 0 } };	//左悬挂形

	private static final int[][] RIGHT_HANGING = { { 0, 1, 1}, { 1, 1, 0}, { 0, 0, 0 } };	//右悬挂形
	
	public static int[][] getLeftHanging() {
		return LEFT_HANGING;
	}

	public static int[][] getRightHanging() {
		return RIGHT_HANGING;
	}

	public static int[][] getRightLying() {
		return RIGHT_LYING;
	}

	public static int[][] getStrip() {
		return STRIP;
	}

	public static int[][] getLeftLying() {
		return LEFT_LYING;
	}

	public static int[][] getMountain() {
		return MOUNTAIN;
	}

	public static int[][] getTian() {
		return TIAN;
	}

}
